package com.cskaoyan.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author JJ
 * @description WxOrderDetailVO的其中一个内部bean
 * @time 2021/7/12 14:11
 */
@Data
public class WxOrderInfoBeanVO {

    /**
     * consignee : 宋江
     * address : 北京市 市辖区 东城区 十三区
     * addTime : 2021-07-12 13:57:10
     * orderSn : 20210712904520
     * actualPrice : 9997
     * mobile : 13324567890
     * orderStatusText : 已取消
     * goodsPrice : 9999
     * couponPrice : 2
     * id : 98
     * freightPrice : 0
     * handleOption : {"cancel":false,"delete":true,"pay":false,"comment":false,"confirm":false,"refund":false,"rebuy":false}
     */

    private String consignee;
    private String address;

    //yml文件中设置了统一时间格式为yyyy-MM-dd,故此处需修改
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    private String orderSn;
    private BigDecimal actualPrice;
    private String mobile;
    private String orderStatusText;
    private BigDecimal goodsPrice;
    private BigDecimal couponPrice;
    private int id;
    private BigDecimal freightPrice;
    private WxOrderHandleOptionBeanVO handleOption;



}
